package vip.xiaonuo.hontu.issued.impl;

import lombok.extern.slf4j.Slf4j;
import org.jetbrains.annotations.NotNull;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;
import vip.xiaonuo.core.pojo.page.PageResult;
import vip.xiaonuo.facedoor.iservice.IDeviceBaseService;
import vip.xiaonuo.facedoor.modular.devicebase.entity.DeviceBase;
import vip.xiaonuo.facedoor.modular.devicebase.param.DeviceBaseParam;
import vip.xiaonuo.facedoor.modular.devicebase.service.DeviceBaseService;
import vip.xiaonuo.facedoor.modular.deviceset.service.DwDeviceSetService;
import vip.xiaonuo.facedoor.modular.memberdevice.service.MemberDeviceService;
import vip.xiaonuo.facedoor.modular.orgdevice.service.OrgDeviceService;
import vip.xiaonuo.facedoor.modular.visitordevice.service.VisitorDeviceService;
import vip.xiaonuo.facedoor.rule.RuleConstant;
import vip.xiaonuo.facedoor.vo.dewo.GetPersonResponse;
import vip.xiaonuo.sys.modular.timer.service.SysTimersService;

@Service(value = RuleConstant.HT + RuleConstant.DEVICE_BASE)
@Slf4j
public class HTHttpDeviceBaseService implements IDeviceBaseService {


    @Autowired
    private OrgDeviceService orgDeviceService;

    @Autowired
    private MemberDeviceService memberDeviceService;

    @Autowired
    private SysTimersService sysTimersService;

    @Autowired
    private VisitorDeviceService visitorDeviceService;

    @Autowired
    private DeviceBaseService deviceBaseService;

    @Autowired
    private DwDeviceSetService dwDeviceSetService;

    @Override
    public PageResult<GetPersonResponse.DataDTO.PersonnelListDTO> listPerson(Long deviceId, String name) {
        return null;
    }

    @Override
    public void delete(DeviceBaseParam deviceBaseParam) {

    }

    @Override
    public void setUserPwd(DeviceBaseParam deviceBaseParam) {

    }

    @Override
    public void setFactoryDefault(DeviceBaseParam deviceBaseParam) {

    }

    @NotNull
    private DeviceBase getDeviceBase(DeviceBaseParam deviceBaseParam) {
        return null;
    }

    @Override
    public void setSysTime(DeviceBaseParam deviceBaseParam) {

    }

    @Override
    public void openDoor(DeviceBaseParam deviceBaseParam) {
    }
}
